﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperListEx.Sections;
using System.Windows.Forms;

namespace SuperListEx
{
  public class SuperlistDragEventArgs : EventArgs
  {
    public SuperlistDragEventArgs(Section sectionOver, DragEventArgs dragEventArgs)
    {
      SectionOver = sectionOver;
      DragEventArgs = dragEventArgs;
    }

    /// <summary>
    /// Section the mouse is currently over.
    /// </summary>
    public readonly Section SectionOver;

    /// <summary>
    /// The standard DragOver event args.
    /// </summary>
    public readonly DragEventArgs DragEventArgs;

    /// <summary>
    /// Set this property with the section if any to allow
    /// dropping on. Used only in DragOver event.
    /// </summary>
    public Section SectionAllowedToDropOn;
  }
}
